//
//  QueryBuyHistoryDetailOperation.m
//  PlayBall
//
//  Created by 龙华 伍 on 12-7-1.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "JddQueryBuyHistoryDetailOperation.h"

@implementation JddQueryBuyHistoryDetailOperation

@synthesize SchemeId, DataSource;


- (void)main{
    JddNetDataCommunication *netDataCommunication = [[JddNetDataCommunication alloc] init];
    
    NSString *bodyString = [JddParameterBuilder queryBuyHistoryDetail:self.SchemeId DataSource:self.DataSource];
    
    NSData *dataLotteryIssue = [netDataCommunication requestDataByPostBodyData:[bodyString dataUsingEncoding:NSUTF8StringEncoding]];    [((NSObject*)self.delegate) performSelectorOnMainThread:@selector(QueryBuyHistoryDetailOperationResult:) withObject:dataLotteryIssue waitUntilDone:NO];
}

@end